const mongoose = require('mongoose')
const schema = new mongoose.Schema({
    bossId: {
        type: mongoose.SchemaTypes.ObjectId,
        ref: 'Boss',

    },
    name: {
        type: String,
        required: true
    },
    price: {
        type: String,
        required: true
    }
})


module.exports = mongoose.model('Product', schema)